package com.code;

/**
 * 表属性类
 */
public class TableAttribute {

    /**
     * 表名
     */
    private String tableName;

    /**
     * 表描述
     */
    private String tableComments;
    /**
     * 列名
     */
    private String columnName;


    /**
     * 名称
     */
    private String columnDesc;

    /**
     * 列ID
     */
    private String columnId;


    /**
     * 数据类型
     */
    private String dataType;


    public TableAttribute() {
    }

    public TableAttribute(String tableName, String tableComments, String columnName, String dataType, String columnDesc) {
        this.tableName = tableName;
        this.tableComments = tableComments;
        this.columnName = columnName;
        this.dataType = dataType;
        this.columnDesc = columnDesc;
    }

    @Override
    public String toString() {
        return "TableAttribute{" +
                "tableName='" + tableName + '\'' +
                ", tableComments='" + tableComments + '\'' +
                ", columnName='" + columnName + '\'' +
                ", columnDesc='" + columnDesc + '\'' +
                ", columnId='" + columnId + '\'' +
                ", dataType='" + dataType + '\'' +
                '}';
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableComments() {
        return tableComments;
    }

    public void setTableComments(String tableComments) {
        this.tableComments = tableComments;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getColumnId() {
        return columnId;
    }

    public void setColumnId(String columnId) {
        this.columnId = columnId;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getColumnDesc() {
        return columnDesc;
    }

    public void setColumnDesc(String columnDesc) {
        this.columnDesc = columnDesc;
    }
}


